<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean" prefix="bean" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
<%request.setAttribute("ctx",request.getContextPath()); %>
<html>
<head>
<link href="${ctx}/extend/css/style.css" rel="stylesheet" type="text/css"/>
<script src="${ctx}/extend/js/jquery/jquery.js" type="text/javascript"></script>
<script src="${ctx}/extend/js/dutil/DUtil.js" type="text/javascript"></script>
<script src="${ctx}/extend/css/css.js" type="text/javascript"></script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link href="${ctx}/css/style.css" rel="stylesheet" type="text/css"/>
<script src="${ctx}/js/common.js" type="text/javascript"></script>
<s:head theme="xhtml"/>
<sx:head parseContent="true"/> 

<style>
table.dclass_data td, table.dclass_data th {
    border: 1px solid #9FD6FF;
    padding: 0.5em 0.3em;
    width: 75px;
	word-wrap:break-word;
	overflow:hidden;
}

table td.long_width, table th.long_width {
    border: 1px solid #9FD6FF;
    padding: 0.5em 0.3em;
    width: 250px;
	word-wrap:break-word;
	overflow:hidden;
}

div.fixedLength1 {
    width: 75px;
}

div.fixedLength2 {
    width: 250px;
}

div.fixedLength3 {
    width: 100px;
}

th {
    border: 1px solid #9FD6FF;
    padding: 0.5em 0.3em;
    width: 75px;
}

td {
    color: #064E88;
    font-family: verdana;
    font-size: 11px;
    line-height: 18px;
    width: 75px;
}
</style>

<title>资产修改历史</title>
</head>
<!-- <body class="maintable"> -->
<body class="longMaintable">
<div class="dclass_container" >
	<div class="dclass_container_header_list">    	
        <div class="dclass_container_title">资产修改历史</div>
    </div>
    <div class="dclass_container_content">
	<!--内容开始-->
	<table class="dclass_data" id="table1" style="display:block">
		<thead>
			<tr>
				<!-- <th align="center" width="20%">修改人</th>
				<th align="center" width="20%">修改时间</th>
				<th align="center" width="60%">修改原因</th> -->
				<th align="center"><div class="fixedLength1" >修改人</div></th>
				<th align="center"><div class="fixedLength1" >修改时间</div></th>
				<th align="center"><div class="fixedLength2" >修改原因</div></th>
			</tr>
		</thead>
		<tbody>
			<c:choose>
           	<c:when test="${empty modHistyList}">
	           	<tr>
	           		<td style="background-color:#ffffff" colspan="3">找不到修改历史</td>
	           		<%-- 
	           		<c:choose>
	           			<c:when test="${modHistyList==null}">
	           				<td style="background-color:#ffffff" colspan="3">修改暂时无法提供查看资产修改历史，请联系管理员。</td>
	           			</c:when>
	           			<c:otherwise>
	           			<td style="background-color:#ffffff" colspan="3">找不到修改历史</td>
	           		</c:otherwise>
	           		</c:choose>	--%>
				</tr>
           	</c:when>
           	<c:otherwise>
           	<s:iterator value="modHistyList" status="status">
				<tr class="list_td">
    			<%-- <td align="left" width="20%"><s:property value="modHistyList[#status.index].author"/></td>
    			<td align="left" width="20%"><s:property value="modHistyList[#status.index].modifyDate"/></td>
    			<td align="left" width="60%"><s:property value="modHistyList[#status.index].modifyReason"/></td> --%>
    			<td align="center" ><div class="fixedLength1" ><s:property value="modHistyList[#status.index].author"/></div></td>
    			<td align="center" ><div class="fixedLength1" ><s:property value="modHistyList[#status.index].modifyDate"/></div></td>
    			<td align="left"> <div class="fixedLength2" ><s:property value="modHistyList[#status.index].modifyReason"/></div></td>		 			
        	</tr>
        	</s:iterator>	
           	</c:otherwise>
           </c:choose>
		</tbody>
	</table>
</div>
</div>

</body>
</html>